home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Prog / M / MCLUTILS.CPT / oodles-of-utils / low-class-extensions / dialog-item-ce.lisp next >
MacBinary  |  1991-10-23  |  2.1 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Oct 23 15:43:08 1991, modified Wed Oct 23 15:43:08 1991, creator Common Lisp 2, type ASCII, 1481 bytes "dialog-item-ce.lisp" , at 0x649 416 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 64 69 61 6c 6f 67 | 2d 69 74 65 6d 2d 63 65 |..dialog|-item-ce|
|00000010| 2e 6c 69 73 70 00 00 00 | 00 00 00 00 00 00 00 00 |.lisp...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 00 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 05 c9 00 | 00 01 a0 a5 2b 81 4c a5 |........|....+.L.|
|00000060| 2b 81 4c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |+.L.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3b 92 00 00 |........|....;...|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 64 69 61 6c |).(provi|de :dial|
|000000a0| 6f 67 2d 69 74 65 6d 2d | 63 65 29 0d 3b 3b 3b 3b |og-item-|ce).;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 3b 0d 3b 3b 20 64 69 | 61 6c 6f 67 2d 69 74 65 |;;.;; di|alog-ite|
|00000100| 6d 2d 63 65 2e 4c 69 73 | 70 0d 3b 3b 0d 3b 3b 20 |m-ce.Lis|p.;;.;; |
|00000110| 43 6f 70 79 72 69 67 68 | 74 20 a9 20 31 39 39 31 |Copyrigh|t . 1991|
|00000120| 20 4e 6f 72 74 68 77 65 | 73 74 65 72 6e 20 55 6e | Northwe|stern Un|
|00000130| 69 76 65 72 73 69 74 79 | 20 49 6e 73 74 69 74 75 |iversity| Institu|
|00000140| 74 65 20 66 6f 72 20 74 | 68 65 20 4c 65 61 72 6e |te for t|he Learn|
|00000150| 69 6e 67 20 53 63 69 65 | 6e 63 65 73 0d 3b 3b 20 |ing Scie|nces.;; |
|00000160| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00000170| 76 65 64 0d 3b 3b 0d 3b | 3b 20 61 75 74 68 6f 72 |ved.;;.;|; author|
|00000180| 3a 20 4d 69 63 68 61 65 | 6c 20 53 2e 20 45 6e 67 |: Michae|l S. Eng|
|00000190| 62 65 72 0d 3b 3b 0d 3b | 3b 20 6d 65 74 68 6f 64 |ber.;;.;|; method|
|000001a0| 73 20 66 6f 72 20 74 68 | 65 20 64 69 61 6c 6f 67 |s for th|e dialog|
|000001b0| 2d 69 74 65 6d 20 63 6c | 61 73 73 0d 3b 3b 3b 3b |-item cl|ass.;;;;|
|000001c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000200| 3b 3b 0d 0d 28 6f 6f 75 | 2d 64 65 70 65 6e 64 65 |;;..(oou|-depende|
|00000210| 6e 63 69 65 73 0d 20 3a | 73 69 6d 70 6c 65 2d 76 |ncies. :|simple-v|
|00000220| 69 65 77 2d 63 65 29 0d | 0d 28 65 78 70 6f 72 74 |iew-ce).|.(export|
|00000230| 20 27 28 64 69 61 6c 6f | 67 2d 69 74 65 6d 2d 68 | '(dialo|g-item-h|
|00000240| 69 64 65 20 64 69 61 6c | 6f 67 2d 69 74 65 6d 2d |ide dial|og-item-|
|00000250| 73 68 6f 77 20 64 69 61 | 6c 6f 67 2d 69 74 65 6d |show dia|log-item|
|00000260| 2d 73 68 6f 77 6e 2d 70 | 20 64 69 61 6c 6f 67 2d |-shown-p| dialog-|
|00000270| 69 74 65 6d 2d 73 68 6f | 77 6e 2d 70 6f 73 69 74 |item-sho|wn-posit|
|00000280| 69 6f 6e 0d 20 20 20 20 | 20 20 20 20 20 20 29 29 |ion. | ))|
|00000290| 0d 0d 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002d0| 3b 3b 3b 3b 3b 3b 3b 3b | 0d 3b 3b 20 68 69 64 69 |;;;;;;;;|.;; hidi|
|000002e0| 6e 67 20 64 69 61 6c 6f | 67 20 69 74 65 6d 73 20 |ng dialo|g items |
|000002f0| 28 61 73 20 70 65 72 20 | 48 69 64 65 44 49 74 65 |(as per |HideDIte|
|00000300| 6d 20 26 20 53 68 6f 77 | 44 49 74 65 6d 20 49 4d |m & Show|DItem IM|
|00000310| 20 49 56 20 70 2e 35 39 | 29 0d 0d 28 65 76 61 6c | IV p.59|)..(eval|
|00000320| 2d 77 68 65 6e 20 28 3a | 63 6f 6d 70 69 6c 65 2d |-when (:|compile-|
|00000330| 74 6f 70 6c 65 76 65 6c | 20 3a 6c 6f 61 64 2d 74 |toplevel| :load-t|
|00000340| 6f 70 6c 65 76 65 6c 20 | 3a 65 78 65 63 75 74 65 |oplevel |:execute|
|00000350| 29 0d 20 20 0d 20 20 28 | 64 65 66 63 6f 6e 73 74 |). . (|defconst|
|00000360| 61 6e 74 20 24 64 69 2d | 68 69 64 64 65 6e 2d 63 |ant $di-|hidden-c|
|00000370| 6f 6e 73 74 20 20 38 31 | 39 32 29 0d 20 20 28 64 |onst 81|92). (d|
|00000380| 65 66 63 6f 6e 73 74 61 | 6e 74 20 24 64 69 2d 68 |efconsta|nt $di-h|
|00000390| 69 64 65 2d 68 2d 6f 66 | 66 73 65 74 20 31 36 33 |ide-h-of|fset 163|
|000003a0| 38 34 29 0d 20 20 0d 20 | 20 29 0d 0d 28 64 65 66 |84). . | )..(def|
|000003b0| 6d 65 74 68 6f 64 20 64 | 69 61 6c 6f 67 2d 69 74 |method d|ialog-it|
|000003c0| 65 6d 2d 68 69 64 65 20 | 28 28 64 69 20 64 69 61 |em-hide |((di dia|
|000003d0| 6c 6f 67 2d 69 74 65 6d | 29 29 0d 20 20 28 77 68 |log-item|)). (wh|
|000003e0| 65 6e 20 28 64 69 61 6c | 6f 67 2d 69 74 65 6d 2d |en (dial|og-item-|
|000003f0| 73 68 6f 77 6e 2d 70 20 | 64 69 29 0d 20 20 20 20 |shown-p |di). |
|00000400| 28 6f 66 66 73 65 74 2d | 76 69 65 77 2d 70 6f 73 |(offset-|view-pos|
|00000410| 69 74 69 6f 6e 20 64 69 | 20 23 2e 28 6d 61 6b 65 |ition di| #.(make|
|00000420| 2d 70 6f 69 6e 74 20 24 | 64 69 2d 68 69 64 65 2d |-point $|di-hide-|
|00000430| 68 2d 6f 66 66 73 65 74 | 20 30 29 29 29 29 0d 0d |h-offset| 0))))..|
|00000440| 28 64 65 66 6d 65 74 68 | 6f 64 20 64 69 61 6c 6f |(defmeth|od dialo|
|00000450| 67 2d 69 74 65 6d 2d 73 | 68 6f 77 20 28 28 64 69 |g-item-s|how ((di|
|00000460| 20 64 69 61 6c 6f 67 2d | 69 74 65 6d 29 29 0d 20 | dialog-|item)). |
|00000470| 20 28 75 6e 6c 65 73 73 | 20 28 64 69 61 6c 6f 67 | (unless| (dialog|
|00000480| 2d 69 74 65 6d 2d 73 68 | 6f 77 6e 2d 70 20 64 69 |-item-sh|own-p di|
|00000490| 29 0d 20 20 20 20 28 6f | 66 66 73 65 74 2d 76 69 |). (o|ffset-vi|
|000004a0| 65 77 2d 70 6f 73 69 74 | 69 6f 6e 20 64 69 20 23 |ew-posit|ion di #|
|000004b0| 2e 28 6d 61 6b 65 2d 70 | 6f 69 6e 74 20 28 2d 20 |.(make-p|oint (- |
|000004c0| 24 64 69 2d 68 69 64 65 | 2d 68 2d 6f 66 66 73 65 |$di-hide|-h-offse|
|000004d0| 74 29 20 30 29 29 29 29 | 0d 0d 28 64 65 66 6d 65 |t) 0))))|..(defme|
|000004e0| 74 68 6f 64 20 64 69 61 | 6c 6f 67 2d 69 74 65 6d |thod dia|log-item|
|000004f0| 2d 73 68 6f 77 6e 2d 70 | 20 28 28 64 69 20 64 69 |-shown-p| ((di di|
|00000500| 61 6c 6f 67 2d 69 74 65 | 6d 29 29 0d 20 20 28 3c |alog-ite|m)). (<|
|00000510| 20 28 70 6f 69 6e 74 2d | 68 20 28 76 69 65 77 2d | (point-|h (view-|
|00000520| 70 6f 73 69 74 69 6f 6e | 20 64 69 29 29 20 23 2e |position| di)) #.|
|00000530| 24 64 69 2d 68 69 64 64 | 65 6e 2d 63 6f 6e 73 74 |$di-hidd|en-const|
|00000540| 29 29 0d 0d 28 64 65 66 | 6d 65 74 68 6f 64 20 64 |))..(def|method d|
|00000550| 69 61 6c 6f 67 2d 69 74 | 65 6d 2d 73 68 6f 77 6e |ialog-it|em-shown|
|00000560| 2d 70 6f 73 69 74 69 6f | 6e 20 28 28 64 69 20 64 |-positio|n ((di d|
|00000570| 69 61 6c 6f 67 2d 69 74 | 65 6d 29 29 0d 20 20 28 |ialog-it|em)). (|
|00000580| 69 66 20 28 64 69 61 6c | 6f 67 2d 69 74 65 6d 2d |if (dial|og-item-|
|00000590| 73 68 6f 77 6e 2d 70 20 | 64 69 29 0d 20 20 20 20 |shown-p |di). |
|000005a0| 28 76 69 65 77 2d 70 6f | 73 69 74 69 6f 6e 20 64 |(view-po|sition d|
|000005b0| 69 29 0d 20 20 20 20 28 | 73 75 62 74 72 61 63 74 |i). (|subtract|
|000005c0| 2d 70 6f 69 6e 74 73 20 | 28 76 69 65 77 2d 70 6f |-points |(view-po|
|000005d0| 73 69 74 69 6f 6e 20 64 | 69 29 20 23 2e 28 6d 61 |sition d|i) #.(ma|
|000005e0| 6b 65 2d 70 6f 69 6e 74 | 20 24 64 69 2d 68 69 64 |ke-point| $di-hid|
|000005f0| 65 2d 68 2d 6f 66 66 73 | 65 74 20 30 29 29 29 29 |e-h-offs|et 0))))|
|00000600| 0d 0d 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|00000610| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000620| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000630| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000640| 3b 3b 3b 3b 3b 3b 3b 3b | 0d 00 00 00 00 00 00 00 |;;;;;;;;|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 46 |.......Z|...Z...F|
|00000690| 29 0d 28 70 72 6f 76 69 | 64 65 20 3a 64 69 61 6c |).(provi|de :dial|
|000006a0| 6f 67 2d 69 74 65 6d 2d | 75 29 0d 3b 3b 3b 3b 3b |og-item-|u).;;;;;|
|000006b0| 13 64 69 61 6c 6f 67 2d | 69 74 65 6d 2d 63 65 2e |.dialog-|item-ce.|
|000006c0| 6c 69 73 70 02 00 00 00 | 54 45 58 54 43 43 4c 32 |lisp....|TEXTCCL2|
|000006d0| 00 00 54 45 58 54 43 43 | 4c 32 40 00 00 00 00 00 |..TEXTCC|L2@.....|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 a4 ac a9 c0 00 00 | 00 00 00 00 01 a0 65 6d |........|......em|
|00000700| 2d 75 2e 4c 69 73 70 0d | 3b 3b 0d 3b 3b 20 43 6f |-u.Lisp.|;;.;; Co|
|00000710| 70 79 72 69 67 68 74 20 | a9 20 31 39 39 30 20 4e |pyright |. 1990 N|
|00000720| 6f 72 74 68 77 65 73 74 | 65 72 6e 20 55 6e 69 76 |orthwest|ern Univ|
|00000730| 65 72 73 69 74 79 20 49 | 6e 73 74 69 74 75 74 65 |ersity I|nstitute|
|00000740| 20 66 6f 72 20 74 68 65 | 20 4c 65 61 72 6e 69 6e | for the| Learnin|
|00000750| 67 20 53 63 69 65 6e 63 | 65 73 0d 3b 3b 20 41 6c |g Scienc|es.;; Al|
|00000760| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|00000770| 64 0d 3b 3b 0d 3b 3b 20 | 61 75 74 68 6f 72 3a 20 |d.;;.;; |author: |
|00000780| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000790| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 06 00 08 | 00 fe 01 eb 03 14 04 46 |........|.......F|
|000007c0| 00 fe 01 eb 03 14 04 46 | 00 00 00 00 00 00 00 10 |.......F|........|
|000007d0| 00 00 00 10 00 00 00 00 | 01 00 00 00 01 00 00 00 |........|........|
|000007e0| 01 5a 00 00 00 5a 00 00 | 00 46 00 37 d3 2c 08 16 |.Z...Z..|.F.7.,..|
|000007f0| 00 00 00 1c 00 46 00 01 | 46 52 45 44 00 00 00 12 |.....F..|FRED....|
|00000800| 4d 50 53 52 00 00 00 1e | 00 02 ff ff 00 00 00 00 |MPSR....|........|
|00000810| 00 00 00 00 03 ed ff ff | 00 00 00 0e 00 37 f9 10 |........|.....7..|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+